package com.n9.qq.android;

import com.n9.qq.util.Util;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * 常量类
 * @author ice
 * @since 2019/1/29 16:46
 */
public class Const {
    /**
     * 服务端ecdh
     */
    public static final byte[] SERVER_PUB_KEY = Util.convertHexStringToByte("30 46 30 10 06 07 2A 86 48 CE 3D 02 01 06 05 2B 81 04 00 1F 03 32 00 04 92 8D 88 50 67 30 88 B3 43 26 4E 0C 6B AC B8 49 6D 69 77 99 F3 72 11 DE B2 5B B7 39 06 CB 08 9F EA 96 39 B4 E0 26 04 98 B5 1A 99 2D 50 81 3D A8");

    public static final String OS_TYPE = "android";
    public static final String OS_VERSION = "5.1.1";
    public static final int NET_WORK_TYPE = 2;
    public static final String SIM_NAME = "CMCC";
    public static final String APN_NAME = "wifi";

    public static final int APPID = 0x2002F3AD;
    public static final int M_MISC_BIT_MAP = 0x0017FF7C;
    public static final int M_SUB_SIG_MAP = 66560;
    public static final String APP_PACKAGE_NAME = "com.tencent.qqlite";
    public static final String APP_VERSION = "3.7.1";
    public static final byte[] PKG_SIGN = Util.convertHexStringToByte("A6 B7 45 BF 24 A2 C2 77 52 77 16 F6 F3 6E B6 8D");
    public static final List<String> DOMAINS = Stream.of("game.qq.com", "qzone.qq.com", "connect.qq.com").collect(Collectors.toList());
    public static final long RELEASE_TIME = 1563523306L;
    public static final String SDK_VERSION = "6.0.0.1602";
    public static final String REQ_HEAD_SDKVERSION = "A4.0.1.497d5f40";



    public static final String PHONE_TYPE = "android";
    public static final String PHONE_BRANDS = "m1note";
    public static final String IMSI = "460070050561920";
    public static final byte[] IMSI_MD5 = Util.convertHexStringToByte("EC 6D 84 16 42 2E 13 71 4B 55 A7 4D EF 38 B3 FF");

}
